<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/static/bootstrap3/css/bootstrap.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/static/bootstrap3/css/bootstrap-theme.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/static/css/blog.css">
<script
	src="${pageContext.request.contextPath}/static/bootstrap3/js/jquery-1.11.2.min.js"></script>
<script
	src="${pageContext.request.contextPath}/static/bootstrap3/js/bootstrap.min.js"></script>
<title>天气实况</title>
<style type="text/css">
body {
	padding-top: 10px;
	padding-bottom: 40px;
}
</style>
</head>
<body>
	<h1>城市:${city}</h1>
	<h1>日期：${date}//${week}</h1>
	<img
		src="${pageContext.request.contextPath}/static/images/weathercn/${img }.png"">
	<h1>当前温度： ${temp}℃//最低温度： ${templow}℃//最高温：${temphigh}℃</h1>
	<h1>风力： ${windpower}//风向：${winddirect}</h1>
	<h1>平均气压： ${pressure}Pa</h1>
	<h1>平均湿度： ${humidity}</h1>
	<c:forEach var="index" items="${index }">
		<h3>指标：${index.iname }</h3>
		<h3>指数 ：${index.ivalue }</h3> 
		<h3>建议：${index.detail }</h3> <br />
	</c:forEach>
		<h1>未来一周天气预测</h1>
	<c:forEach var="daily" items="${daily }">
		<i>${daily.week }</i>
		<i>白天：<img
			src="${pageContext.request.contextPath}/static/images/weathercn/${daily.day.img }.png" /></i>
		<i>夜晚：<img
			src="${pageContext.request.contextPath}/static/images/weathercn/${daily.day.img }.png" /></i>
		<br />
	</c:forEach>
	<h1>今日天气走势</h1>
	<c:forEach var="hourly" items="${hourly }">
		<i>${hourly.time }</i>
		<i>气温：${hourly.temp }℃//</i>
		<i>${hourly.weather }</i>
		<i><img
			src="${pageContext.request.contextPath}/static/images/weathercn/${hourly.img}.png" /></i>

		<br />
	</c:forEach>


</body>
</html>